<?php $language_items=array('en'=>LENGLISH,'vn'=>LVIETNAMESE,);?>
<div id="footer">
	
	<?php /*<!-- Histats.com  (div with counter) --><div id="histats_counter"></div>
	<!-- Histats.com  START  (aync)-->
	<script type="text/javascript">var _Hasync= _Hasync|| [];
	_Hasync.push(['Histats.start', '1,1923255,4,603,110,40,00001000']);
	_Hasync.push(['Histats.fasi', '1']);
	_Hasync.push(['Histats.track_hits', '']);
	(function() {
	var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true;
	hs.src = ('http://s10.histats.com/js15_as.js');
	(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs);
	})();</script>
	<noscript><a href="http://www.histats.com" target="_blank"><img  src="http://sstatic1.histats.com/0.gif?1923255&101" alt="how to add a hit counter to a website" border="0"></a></noscript>
	<script>
	function getCount()
	{
		var flashvar=$('#histats_counter embed').attr('flashvars');
		var Visits=(flashvar.split('Visits=',2)[1]).split('#',2)[0];
		var Online=(flashvar.split('Online=',2)[1]).split('#',2)[0];
		$('#Visits').html(Visits);		
		$('#Online').html(Online);
	}
	$(document).ready(function(){
		setTimeout(getCount,5000);
	}); 
	</script>
	<!-- Histats.com  END  -->
	*/ ?>
	
	<div id="languages">	
		<?php foreach($language_items as $key=>$value){?>
		<a href='?page=language&language=<?php echo $key?>'>
			<f<?php echo $language==$key?" id='selected' ":""?>><?php echo $value?></f>
		</a>
		<?php }?>
	</div>
</div><!-- #footer -->